package com.my.adminservice.map.service;

import com.my.adminservice.map.domain.dto.GeoResultDTO;
import com.my.adminservice.map.domain.dto.LocationDTO;
import com.my.adminservice.map.domain.dto.PoiListDTO;
import com.my.adminservice.map.domain.dto.SuggestSearchDTO;
import org.springframework.stereotype.Service;


public interface IMapProvider {

    /**
     * 根据关键词搜索地点
     * @param suggestSearchDTO 搜索条件
     * @return 搜索结果
     */
    PoiListDTO searchQQMapPlaceByRegion(SuggestSearchDTO suggestSearchDTO);
    /**
     * 根据经纬度搜索地点
     * @param locationDTO 搜索条件
     * @return 搜索结果
     */
    GeoResultDTO getQQMapDistrictByLonLat(LocationDTO locationDTO);
}
